Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: trim slash from url for the mobile app #361

Merged
merged 1 commit into from
Aug 24, 2024

Conversation

Mxrk
Copy link
Contributor

@Mxrk Mxrk commented Aug 22, 2024

Hi, small pull request to fix the removal of the slash at the end of a server address on mobile.

It was mentioned in #311 and I used the same code as in the linked code by @MohamedBassem.

Extension:

setSettings((s) => ({ ...s, address: serverAddress.replace(/\/$/, "") }));

@MohamedBassem MohamedBassem merged commit 6fba4aa into hoarder-app:main Aug 24, 2024
3 checks passed
@MohamedBassem
Copy link
Collaborator

Thanks @Mxrk for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants